package com.sinosoft.app.entrust.dao;

import java.util.List;

import com.sinosoft.app.entrust.entity.EntrustOrder;
   
   /**
    * @ClassName EntrustOrderDao dao接口类
    * @date 2017-2-20 
    * @author shangxp
    */  


public interface EntrustOrderDao {
	public int insertEntrustOrder(EntrustOrder entrustOrder);
	public int updateEntrustOrder(EntrustOrder entrustOrder);
	public int deleteEntrustOrder(int id);
	public EntrustOrder selectEntrustOrder(int id);
	public EntrustOrder selectEntrustOrder(List<String> queryKeys,List<Object> queryValues);
	public int selectCountEntrustOrder();
	public int selectCountEntrustOrder(List<String> queryKeys,List<Object> queryValues);
	public List<EntrustOrder> selectLimitEntrustOrder(int start,int size);
	public List<EntrustOrder> selectLimitEntrustOrder(List<String> queryKeys,List<Object> queryValues,int start,int size);
	public List<EntrustOrder> selectAllEntrustOrder();
	public List<EntrustOrder> selectAllEntrustOrder(List<String> queryKeys,List<Object> queryValues);
}